home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload Trio 2 / Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO / dir24 / hamcom23.zip / HC.CFG < prev    next >
Text File  |  1994-02-05  |  13KB  |  471 lines

  1. #
  2. # HC.CFG 940205
  3. #
  4. # HamComm 2.3 sample configuration file
  5. #
  6.  
  7.  
  8. #
  9. # HamComm will automatically search for this file on program startup.
  10. # The current directory is searched first, then all directories along
  11. # the current "PATH" environment variable.
  12. #
  13. # The character '#' starts a comment.  All characters up to the end of
  14. # the line are ignored, including the '#' character itself.
  15. #
  16. # Numbers are normally entered in decimal notation, but you can also
  17. # use hexadecimal values starting in '0x'.
  18. #
  19.  
  20.  
  21. #
  22. # Setup serial ports
  23. #
  24. # HamComm maintains an internal table of available serial ports.
  25. # Every port has a unique base port address and interrupt request line.
  26. # Up to four ports can be defined.  On startup the table looks like this:
  27. #
  28. #       iobase  irq
  29. #  COM1  0x3f8   4
  30. #  COM2  0x2f8   3
  31. #  COM3      0   0
  32. #  COM4      0   0
  33. #
  34. # COM1 and COM2 are predefined to their standard values.
  35. # COM3 and COM4 are undefined.
  36. #
  37. # Undefined ports can not be selected from the 'Port' menue.
  38. #
  39. # Let's assume we have a non-standard serial port at address 0x2E8 (hex)
  40. # using interrupt request 5.  The following 'define port' statement will
  41. # make this port available as COM4.
  42. #
  43. # Example: define port com4  iobase 0x2e8  irq 5
  44. #
  45. # Let's assume we have a non-standard serial port at address 0x3E8 (hex)
  46. # using interrupt request 4.  The following 'define port' statement will
  47. # make this port available as COM3.
  48. #
  49. #
  50. # Example: define port com3  iobase 0x3e8  irq 4
  51. #
  52.  
  53. #
  54. # We can also redefine any port using the 'define port' statement.
  55. #
  56. # For the following example let's assume we have a mouse connected to
  57. # COM1, so we don't want HamComm to fool around with that port.
  58. # If you remove the comment character from the following statement
  59. # the base address and irq for COM1 will be set to 0 and HamComm
  60. # will ignore it.  Consequently COM1 is now no longer available from
  61. # the 'Port' menue.
  62. #
  63.  
  64. # Example: define port com1  iobase 0  irq 0
  65.  
  66.  
  67. #
  68. # At startup HamComm normally uses COM2.  This can be changed with
  69. # the 'select port' statement.  Undefined ports can not be selected.  
  70. # (see also: 'define port com...' above). 
  71.  
  72. select port com2
  73.  
  74.  
  75. #
  76. # HamComm needs the current date/time in several places.  It is displayed
  77. # on the screen, written to logfiles and can easily be included in the TX
  78. # window.  If you don't want to use the PCs local time the following
  79. # command sets the name (3 characters) of the desired timezone.
  80. #
  81. # Example: it is often convenient to keep time in UTC, so ...
  82. #
  83.  
  84. set timezone UTC
  85.  
  86.  
  87. #
  88. # The "set timezone ..." command above sets just the name of the
  89. # timezone to be used.  In order to display the correct time for that zone
  90. # HamComm needs to know the difference in seconds between the PCs clock
  91. # and the desired timezone. 
  92. #
  93. # Example: 
  94. #
  95. # i live in Germany.  The local timezone is "Central European Time"
  96. # which is one hour ahead of UTC, so i have to subtract one hour from
  97. # the PCs current time.  One hour is about 3600 seconds. 
  98. #
  99.  
  100. set timediff -3600
  101.  
  102.  
  103. #
  104. # The operating mode can be changed from a .CFG file using the "set mode .."
  105. # command.  Available modes are: CW, BAUDOT, ASCII7, ASCII8, TUNE, BITLEN,
  106. # SCOPE and SPECTRUM.
  107. #
  108.  
  109. # Example: set mode baudot
  110.  
  111.  
  112. #
  113. # Set the baud value for RTTY send and receive mode.
  114. # The default value is 45 baud.
  115. #
  116.  
  117. set baud 45
  118.  
  119.  
  120. #
  121. # Set the WPM value for morse code transmission.
  122. # The default value is 15 WPM.  
  123. #
  124.  
  125. set wpm 15
  126.  
  127.  
  128. #
  129. # Set the startup audio center frequency for receive and transmit tones.
  130. # You may select any value between 500Hz and 2400Hz (default is 700Hz).
  131. #
  132.  
  133. set afcenter 750
  134.  
  135.  
  136. #
  137. # Set startup audio frequency shift between mark and space tones.
  138. # You may select any value between 25Hz and 999Hz (default is 170Hz).
  139. #
  140.  
  141. set afshift 170
  142.  
  143.  
  144. #
  145. # While AFC (Automatic Frequency Control) is turned on, the audio center
  146. # frequency will automatically follow the input signal during RTTY reception.
  147. #
  148. # Disable AFC for now.
  149. #
  150.  
  151. set afc off
  152.  
  153.  
  154. #
  155. # Control automatic drop-back to LETTER mode for Baudot reception.
  156. #
  157.  
  158. set autounshift on
  159.  
  160.  
  161. #
  162. # Control blank line suppression for the RX window.
  163. # To save screen space we normally don't want blank lines.
  164. #
  165.  
  166. set rxblanklines off
  167.  
  168.  
  169. #
  170. # Set keying direction:  normal = 'mark' is high tone
  171. #                       reverse = 'mark' is low tone
  172.  
  173. set keying normal
  174.  
  175.  
  176. #
  177. # (De)activate the decoder for weather reports in SHIP or SYNOP format.
  178. #
  179.  
  180. set wxdecode off
  181.  
  182.  
  183. #
  184. # Set the default on/off state of the grid for the SCOPE function.
  185. #
  186. # On monochrome monitors and some LCD screens the display looks
  187. # better with the grid turned off.
  188. #
  189.  
  190. set scopegrid on
  191.  
  192.  
  193. #
  194. # A conventional RTTY decoder can be used in parallel to the standard
  195. # HamComm interface.  If the following option is set to 'on' the signal
  196. # from the external converter will be used for character decoding.
  197. #
  198.  
  199. set extconv off
  200.  
  201.  
  202. #
  203. # When the TX data buffer runs empty during transmit mode, HamComm will
  204. # automatically start sending idle characters.  This feature is normally
  205. # disabled but can be activated using the following command:
  206. #
  207.  
  208. set diddle on
  209.  
  210.  
  211. #
  212. # The TX audio signal is normally generated with the PC's speaker.
  213. # If we use the AFSK signal from the COM port or an external AFSK
  214. # we probably want to disable it.
  215. # The speaker can be controlled using the following command.
  216. #
  217.  
  218. set speaker on
  219.  
  220.  
  221. #
  222. # For some PAs (power amplifier) there should be a delay time between
  223. # activation of the PTT line and the RF signal from the transmitter.
  224. # This delay time is controlled by the PADELAY parameter.  When switching
  225. # to TX mode HamComm activates the PTT line immediately, but the speaker
  226. # output will not be enabled before the specified number of milliseconds
  227. # have elapsed.  Since most HamComm users probably don't have a PA or have
  228. # a PA that doesn't require the delay, PADELAY is set to 0.
  229. #
  230.  
  231. set padelay 0
  232.  
  233.  
  234. #
  235. # The transmitter needs a little time to start after we pull the ptt line.
  236. # Set the TXDELAY to the number of milliseconds required.
  237. # 30ms should be enough for almost any modern transceiver.
  238. #
  239.  
  240. set txdelay 50
  241.  
  242.  
  243. #
  244. # Now specify the time to wait after TXDELAY until we send out
  245. # the first character. Time for your qso partner to tune in.
  246. #
  247.  
  248. set txwait 2000
  249.  
  250.  
  251. #
  252. # Set the number of bytes for the receive buffer.
  253. #
  254. # All characters received are first put into this buffer by the 
  255. # interrupt routines.  When the TTY functions are active they
  256. # are removed from the buffer and displayed in the RX window.
  257. #
  258. # The size of the receive buffer should not exceed 65000 bytes.
  259. #
  260.  
  261. set rxbuffersize 512
  262.  
  263.  
  264. #
  265. # Set the size of the transmit buffer.
  266. #
  267. # All characters to be transmitted are first copied from the TX window
  268. # into the transmit buffer.  The transmit routine will remove them
  269. # from the buffer one at a time and send them to the speaker output.
  270. #
  271. # The size of the transmit buffer should not exceed 65000 bytes.
  272. #
  273.  
  274. set txbuffersize 10000
  275.  
  276.  
  277. #
  278. # Set the number of lines for the receive window buffer.
  279. #
  280. # This is not the window size on the screen, but the number of received
  281. # lines that can be rolled back.  For each line about 160 bytes of
  282. # memory are required.  Use the SYSTEM entry from the INFO menue to
  283. # display the size of free memory.
  284. #
  285.  
  286. set rxwindowlines 75
  287.  
  288.  
  289. #
  290. # Set the number of lines for the transmit window buffer.
  291. #
  292.  
  293. set txwindowlines 50
  294.  
  295.  
  296. #
  297. # Set the maximum transmit line length.  Lines on old mechanical TTY 
  298. # maschines are somewhat less than 80 characters long.
  299. #
  300.  
  301. set txlinelength 66
  302.  
  303.  
  304. #
  305. # Set the entry mode for the TX window to 'line' or 'word'.
  306. # This can also be changed any time during program execution
  307. # using the Control-W key.
  308. #
  309.  
  310. set entrymode line
  311.  
  312.  
  313. #
  314. # Set the insert mode for the TX window to 'on' or 'off'.
  315. # This can also be changed any time during program execution
  316. # using the INS key.
  317. #
  318.  
  319. set insertmode off
  320.  
  321.  
  322. #
  323. # Define the end-of-text character.  HamComm will automatically return to
  324. # receive mode when the transmit routine reads this character from the
  325. # tx buffer.  The character can be specified as decimal number, hex number
  326. # or as the character itself.
  327. #
  328. # Examples: set endoftext 230    # use the greek letter for 'micro'
  329. #           set endoftext 0x7F   # use the DEL character (control-backspace)
  330. #           set endoftext "ß"    # this is handy for german keyboards
  331. #
  332. # The end-of-text feature can be disabled by using the value 0.
  333. #
  334.  
  335. set endoftext 0x7f      # control-backspace
  336.  
  337.  
  338. #
  339. # The callsign decoder normally uses the file HC.PRE for information
  340. # about prefixes.  If you already have a file with the same format
  341. # on your disk you can tell HamComm about it with the "set prefixfile"
  342. # command.  Here is an example:
  343. #
  344.  
  345. # Example: set prefixfile c:\ham\cqww.cty
  346.  
  347.  
  348. #
  349. # A logfile for the RX window can be opened using the "set rxlogfile ..."
  350. # command.
  351.  
  352. # Examples: set rxlogfile "startup.log" # open logfile startup.log
  353. #
  354. #           set rxlogfile ""            # close current logfile
  355.  
  356.  
  357. #
  358. # Define some standard texts.  They can be selected for transmission
  359. # from the 'Text' menue.  The texts labelled SHIFT_Fxx can also be send
  360. # by pressing the corresponding function key.
  361. #
  362. # Double quotes (") are only required if the string contains spaces
  363. # or the comment character (#).
  364. #
  365. # \#  will be replaced with the current QSO count.
  366. # \+  increments QSO count, then just like \#.
  367. # \d  will be replaced with the current date and time.
  368. # \e  will be replaced with the currently selected end-of-text character.
  369. # \n  starts a new line.
  370. # \z  will be replaced with the current time.
  371. #
  372. # A text can be included in another text by surrounding its name
  373. # with '~' (tilde) characters.  If the name starts with an AT sign (@)
  374. # HamComm will look for a file with that name.  See 'station.txt' for an
  375. # example.  Note that the text in the included file can itself include
  376. # other texts or files.  Make sure that there are no circular references!
  377. #
  378.  
  379. #
  380. # Define text elements for function keys SHIFT_F01 - SHIFT_F10.
  381. #
  382.  
  383. define text SHIFT_F01  " ryryryry cq cq cq de ~mycall~ ~mycall~ ~mycall~"
  384.                        " ~mycall~ ~mycall~\n"
  385.  
  386. define text SHIFT_F02  " ryryryry ~call~ ~call~ ~call~"
  387.                        " de ~mycall~ ~mycall~ pse k k k\n\e\n"
  388.  
  389. define text SHIFT_F03  " ryryryry ~call~ de ~mycall~\n"
  390.  
  391. define text SHIFT_F04  " back to you ~name~... ~call~ de ~mycall~ pse k k k\n"
  392.  
  393. define text SHIFT_F05  ~@station.txt~
  394.  
  395. define text SHIFT_F06  " de ~mycall~\ntnx... 599 \+ 599 \# 599 \#\nbk bk "
  396.  
  397. define text SHIFT_F07  " ~call~"
  398.  
  399. define text SHIFT_F08  " ~mycall~"
  400.  
  401. define text SHIFT_F09  "ryryryryry"
  402.  
  403. define text SHIFT_F10  " pse k k k\n"
  404.  
  405.  
  406. #
  407. # Define other text elements
  408. #
  409.  
  410. define text banner    "\noooo   o      ooooo  o   o  ooooo   ooo"
  411.                       "\no   o  o      o       o o   o      o   o"
  412.                       "\no   o  o      oooo     o    ooo    o"
  413.                       "\no   o  o          o    o    o      o   o"
  414.                       "\noooo   ooooo  oooo     o    ooooo   ooo\n"
  415.  
  416. define text mycall    dl5yec
  417. define text myname    django
  418. define text myqth     paderborn
  419. define text mylocator jo41jr
  420.  
  421. # The text "mylocator" is also used by the QTH distance/direction calculator.
  422.  
  423.  
  424. #
  425. # The following text elements can be used to distinguish
  426. # received/transmitted text in a logfile.  They will be evaluated
  427. # and inserted at the beginning of every line of the logfile.  
  428. #
  429. # Examples:
  430. #   define text logrxlabel ""             # delete previously defined label
  431. #   define text logrxlabel "RX:"          # insert "RX:"
  432. #   define text logrxlabel "~call~ \z "   # insert call and time
  433. #
  434.  
  435. define text logrxlabel "\z ~timezone~ "
  436. define text logtxlabel "T "
  437.  
  438.  
  439. #
  440. # Some standard phrases
  441. #
  442.  
  443. define text std01     " tnx for answering my call."
  444. define text std02     " my name is ~myname~ ~myname~ ~myname~."
  445. define text std03     " my qth is ~myqth~ ~myqth~ ~myqth~"
  446. define text std04     " locator is ~mylocator~ ~mylocator~"
  447. define text std05     " your report is "
  448. define text std06     " how do you copy ?"
  449. define text std07     " tnx for the nice qso and hope to cuagn."
  450. define text std08     " 73 es 55 to you ~name~ and your family."
  451. define text std09     " the weather today is "
  452. define text std10     " the temperature is abt "
  453. define text std11     " and now i'll get me another beer. "
  454.  
  455.  
  456. #
  457. # Ignore rest of config file
  458. #
  459.  
  460. exit
  461.  
  462.  
  463.  
  464. 73 es 55 de Django
  465.  
  466. packet radio: DL5YEC@DB0BQ.DEU.EU
  467.  
  468.  
  469. e-mail: schroeder.pad@sni.de
  470.